package cn.mumzone.pos.presenter.contract;

import java.util.List;

import cn.mumzone.basic.mvp.BasePresenter;
import cn.mumzone.basic.mvp.BaseView;
import cn.mumzone.basic.net.response.PageListResponse;
import cn.mumzone.pos.model.BillDetailEntity;
import cn.mumzone.pos.model.OffWorkEntity;
import cn.mumzone.pos.model.OffWorkTicketEntity;

/**
 * Created By Dlx
 * on 2019/7/12
 */
public interface OffWorkRecordContract {
    interface View extends BaseView {
        void showOffWorkRecord(PageListResponse<OffWorkEntity> list);

        void doPrintShiftTicket(OffWorkTicketEntity entity);
    }

    interface Presenter extends BasePresenter<View> {
        void loadOffWorkRecord(String startTime, String endTime, String key,String pageNum);

        void loadShiftDetail(String id);

    }
}
